.class public Lcom/xingbook/ui/a/aj;
.super Lcom/xingbook/ui/a/c;

# interfaces
.implements Lcom/xingbook/ui/overclass/a;


# annotations
.annotation build Landroid/annotation/SuppressLint;
    value = {
        "ViewConstructor"
    }
.end annotation


# instance fields
.field private n:Lcn/a/a/b/l;

.field private o:Ljava/lang/String;

.field private p:Lcn/a/a/j;

.field private q:Landroid/view/View;

.field private r:Landroid/view/View;

.field private s:Landroid/view/WindowManager$LayoutParams;

.field private t:Landroid/view/WindowManager;

.field private u:Z

.field private v:Z

.field private w:F

.field private x:F

.field private y:Z


# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;)V
    .locals 3

    invoke-direct {p0, p1, p2, p3, p4}, Lcom/xingbook/ui/a/c;-><init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;)V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/ui/a/aj;->v:Z

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/xingbook/ui/a/aj;->y:Z

    move-object v0, p3

    check-cast v0, Lcn/a/a/b/l;

    iput-object v0, p0, Lcom/xingbook/ui/a/aj;->n:Lcn/a/a/b/l;

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->n:Lcn/a/a/b/l;

    invoke-virtual {v0}, Lcn/a/a/b/l;->a()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/a/aj;->o:Ljava/lang/String;

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->o:Ljava/lang/String;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->o:Ljava/lang/String;

    const-string v1, "\n"

    const-string v2, "<br>"

    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "<span><br>    </span>"

    const-string v2, "<span><br>&nbsp;&nbsp;&nbsp;&nbsp;</span>"

    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "<span>"

    const-string v2, "<span style=\" float: left; margin-left: 5px; text-align: center;\">"

    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/a/aj;->o:Ljava/lang/String;

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->n:Lcn/a/a/b/l;

    invoke-virtual {v0}, Lcn/a/a/b/l;->b()Lcn/a/a/j;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {p3}, Lcn/a/a/b/b;->f()Lcn/a/a/d/e;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/d/e;->d()Z

    move-result v0

    iput-boolean v0, p0, Lcom/xingbook/ui/a/aj;->u:Z

    invoke-direct {p0}, Lcom/xingbook/ui/a/aj;->a()V

    return-void
.end method

.method private a(I)Ljava/lang/String;
    .locals 7

    const/16 v6, 0x10

    const/16 v4, 0x8

    const/4 v5, 0x0

    const/4 v1, 0x1

    invoke-static {p1}, Ljava/lang/Math;->abs(I)I

    move-result v0

    invoke-static {v0}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v2

    if-gez p1, :cond_3

    if-ne v2, v4, :cond_1

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, v5, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v3

    invoke-static {v3, v6}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;I)I

    move-result v3

    add-int/lit8 v3, v3, 0x8

    invoke-static {v3, v6}, Ljava/lang/Integer;->toString(II)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v0, v1, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :cond_0
    :goto_0
    return-object v0

    :cond_1
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "8"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    :goto_1
    rsub-int/lit8 v4, v2, 0x8

    if-lt v1, v4, :cond_2

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_2
    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    :cond_3
    if-eq v2, v4, :cond_0

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "0"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    :goto_2
    rsub-int/lit8 v4, v2, 0x8

    if-lt v1, v4, :cond_4

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_4
    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    add-int/lit8 v1, v1, 0x1

    goto :goto_2
.end method

.method public static a(Ljava/lang/String;)Ljava/lang/String;
    .locals 4

    invoke-virtual {p0}, Ljava/lang/String;->toCharArray()[C

    move-result-object v1

    const/4 v0, 0x0

    :goto_0
    array-length v2, v1

    if-lt v0, v2, :cond_0

    new-instance v0, Ljava/lang/String;

    invoke-direct {v0, v1}, Ljava/lang/String;-><init>([C)V

    return-object v0

    :cond_0
    aget-char v2, v1, v0

    const/16 v3, 0x3000

    if-ne v2, v3, :cond_2

    const/16 v2, 0x20

    aput-char v2, v1, v0

    :cond_1
    :goto_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_2
    aget-char v2, v1, v0

    const v3, 0xff00

    if-le v2, v3, :cond_1

    aget-char v2, v1, v0

    const v3, 0xff5f

    if-ge v2, v3, :cond_1

    aget-char v2, v1, v0

    const v3, 0xfee0

    sub-int/2addr v2, v3

    int-to-char v2, v2

    aput-char v2, v1, v0

    goto :goto_1
.end method

.method private a()V
    .locals 7

    const/4 v5, -0x2

    const/4 v1, 0x0

    const/4 v6, 0x0

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->n:Lcn/a/a/b/l;

    invoke-virtual {v0}, Lcn/a/a/b/l;->l()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-direct {p0}, Lcom/xingbook/ui/a/aj;->getHtmlContent()Ljava/lang/String;

    move-result-object v2

    new-instance v0, Landroid/webkit/WebView;

    iget-object v3, p0, Lcom/xingbook/ui/a/aj;->e:Landroid/content/Context;

    invoke-direct {v0, v3}, Landroid/webkit/WebView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/a/aj;->q:Landroid/view/View;

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->q:Landroid/view/View;

    invoke-virtual {v0, v6}, Landroid/view/View;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->q:Landroid/view/View;

    check-cast v0, Landroid/webkit/WebView;

    const-string v3, "text/html"

    const-string v4, "UTF-8"

    move-object v5, v1

    invoke-virtual/range {v0 .. v5}, Landroid/webkit/WebView;->loadDataWithBaseURL(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->q:Landroid/view/View;

    iget v3, p0, Lcom/xingbook/ui/a/aj;->i:I

    iget v4, p0, Lcom/xingbook/ui/a/aj;->h:I

    invoke-virtual {v0, v6, v6, v3, v4}, Landroid/view/View;->layout(IIII)V

    :goto_0
    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->q:Landroid/view/View;

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/a/aj;->addView(Landroid/view/View;)V

    iget-boolean v0, p0, Lcom/xingbook/ui/a/aj;->u:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->n:Lcn/a/a/b/l;

    invoke-virtual {v0}, Lcn/a/a/b/l;->l()Z

    move-result v0

    if-eqz v0, :cond_4

    new-instance v0, Landroid/webkit/WebView;

    iget-object v3, p0, Lcom/xingbook/ui/a/aj;->e:Landroid/content/Context;

    invoke-direct {v0, v3}, Landroid/webkit/WebView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/a/aj;->r:Landroid/view/View;

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->r:Landroid/view/View;

    invoke-virtual {v0, v6}, Landroid/view/View;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->r:Landroid/view/View;

    check-cast v0, Landroid/webkit/WebView;

    if-eqz v2, :cond_3

    :goto_1
    const-string v3, "text/html"

    const-string v4, "UTF-8"

    move-object v5, v1

    invoke-virtual/range {v0 .. v5}, Landroid/webkit/WebView;->loadDataWithBaseURL(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    :goto_2
    invoke-virtual {p0}, Lcom/xingbook/ui/a/aj;->getContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "window"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/WindowManager;

    iput-object v0, p0, Lcom/xingbook/ui/a/aj;->t:Landroid/view/WindowManager;

    new-instance v0, Landroid/view/WindowManager$LayoutParams;

    invoke-direct {v0}, Landroid/view/WindowManager$LayoutParams;-><init>()V

    iput-object v0, p0, Lcom/xingbook/ui/a/aj;->s:Landroid/view/WindowManager$LayoutParams;

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->s:Landroid/view/WindowManager$LayoutParams;

    const/16 v1, 0x33

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->gravity:I

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->s:Landroid/view/WindowManager$LayoutParams;

    iget v1, p0, Lcom/xingbook/ui/a/aj;->i:I

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->width:I

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->s:Landroid/view/WindowManager$LayoutParams;

    iget v1, p0, Lcom/xingbook/ui/a/aj;->h:I

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->height:I

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->s:Landroid/view/WindowManager$LayoutParams;

    const/16 v1, 0x198

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->flags:I

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->s:Landroid/view/WindowManager$LayoutParams;

    const/4 v1, -0x3

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->format:I

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->s:Landroid/view/WindowManager$LayoutParams;

    iput v6, v0, Landroid/view/WindowManager$LayoutParams;->windowAnimations:I

    new-instance v0, Lcom/xingbook/ui/a/ak;

    invoke-direct {v0, p0}, Lcom/xingbook/ui/a/ak;-><init>(Lcom/xingbook/ui/a/aj;)V

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/a/aj;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    :cond_0
    return-void

    :cond_1
    new-instance v0, Landroid/widget/TextView;

    iget-object v2, p0, Lcom/xingbook/ui/a/aj;->e:Landroid/content/Context;

    invoke-direct {v0, v2}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/a/aj;->q:Landroid/view/View;

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->o:Ljava/lang/String;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->q:Landroid/view/View;

    check-cast v0, Landroid/widget/TextView;

    iget-object v2, p0, Lcom/xingbook/ui/a/aj;->o:Ljava/lang/String;

    const-string v3, " "

    const-string v4, "&nbsp;"

    invoke-virtual {v2, v3, v4}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcom/xingbook/ui/a/aj;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_2
    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->q:Landroid/view/View;

    check-cast v0, Landroid/widget/TextView;

    iget-object v2, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    iget-object v3, p0, Lcom/xingbook/ui/a/aj;->a:Lcom/xingbook/c/e;

    iget-object v4, p0, Lcom/xingbook/ui/a/aj;->e:Landroid/content/Context;

    invoke-static {v0, v2, v3, v4, p0}, Lcom/xingbook/ui/a/s;->a(Landroid/widget/TextView;Lcn/a/a/j;Lcom/xingbook/c/e;Landroid/content/Context;Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->q:Landroid/view/View;

    new-instance v2, Landroid/view/ViewGroup$LayoutParams;

    invoke-direct {v2, v5, v5}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v2}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    move-object v2, v1

    goto/16 :goto_0

    :cond_3
    invoke-direct {p0}, Lcom/xingbook/ui/a/aj;->getHtmlContent()Ljava/lang/String;

    move-result-object v2

    goto/16 :goto_1

    :cond_4
    new-instance v0, Landroid/widget/TextView;

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->e:Landroid/content/Context;

    invoke-direct {v0, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/a/aj;->r:Landroid/view/View;

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->o:Ljava/lang/String;

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->r:Landroid/view/View;

    check-cast v0, Landroid/widget/TextView;

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->o:Ljava/lang/String;

    const-string v2, " "

    const-string v3, "&nbsp;"

    invoke-virtual {v1, v2, v3}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/xingbook/ui/a/aj;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_5
    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->r:Landroid/view/View;

    check-cast v0, Landroid/widget/TextView;

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    iget-object v2, p0, Lcom/xingbook/ui/a/aj;->a:Lcom/xingbook/c/e;

    iget-object v3, p0, Lcom/xingbook/ui/a/aj;->e:Landroid/content/Context;

    iget-object v4, p0, Lcom/xingbook/ui/a/aj;->r:Landroid/view/View;

    invoke-static {v0, v1, v2, v3, v4}, Lcom/xingbook/ui/a/s;->a(Landroid/widget/TextView;Lcn/a/a/j;Lcom/xingbook/c/e;Landroid/content/Context;Landroid/view/View;)V

    goto/16 :goto_2
.end method

.method static synthetic a(Lcom/xingbook/ui/a/aj;F)V
    .locals 0

    iput p1, p0, Lcom/xingbook/ui/a/aj;->w:F

    return-void
.end method

.method static synthetic b(Lcom/xingbook/ui/a/aj;F)V
    .locals 0

    iput p1, p0, Lcom/xingbook/ui/a/aj;->x:F

    return-void
.end method

.method private getHtmlContent()Ljava/lang/String;
    .locals 8

    const/4 v7, 0x6

    const/4 v4, 0x4

    const/16 v3, 0x10

    const/16 v6, 0x8

    const/4 v5, 0x2

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "<!DOCTYPE html><html><head><meta name=\"viewport\" content=\"target-densitydpi=device-dpi\" charset=\"utf-8\"/></head><body topmargin=\"0\" leftmargin=\"0\"><div"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " style=\""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " width: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget v1, p0, Lcom/xingbook/ui/a/aj;->i:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "px;"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " height: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget v1, p0, Lcom/xingbook/ui/a/aj;->h:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "px;"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v0}, Lcn/a/a/j;->m()Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, " font-weight:bold;"

    :goto_0
    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v0}, Lcn/a/a/j;->n()Z

    move-result v0

    if-eqz v0, :cond_1

    const-string v0, " font-style:italic;"

    :goto_1
    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v0}, Lcn/a/a/j;->o()Z

    move-result v0

    if-eqz v0, :cond_2

    const-string v0, " text-decoration:underline;"

    :goto_2
    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " font-size:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->a:Lcom/xingbook/c/e;

    invoke-virtual {v0}, Lcom/xingbook/c/e;->b()Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->a:Lcom/xingbook/c/e;

    iget-object v2, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v2}, Lcn/a/a/j;->a()I

    move-result v2

    int-to-float v2, v2

    invoke-virtual {v0, v2}, Lcom/xingbook/c/e;->a(F)F

    move-result v0

    :goto_3
    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "px;"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " color:#"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v1}, Lcn/a/a/j;->b()I

    move-result v1

    invoke-direct {p0, v1}, Lcom/xingbook/ui/a/aj;->a(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1, v5, v6}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ";"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " text-shadow: #"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v1}, Lcn/a/a/j;->i()I

    move-result v1

    invoke-direct {p0, v1}, Lcom/xingbook/ui/a/aj;->a(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1, v5, v6}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v1}, Lcn/a/a/j;->g()F

    move-result v1

    float-to-int v1, v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "px "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v1}, Lcn/a/a/j;->h()F

    move-result v1

    float-to-int v1, v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "px "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v1}, Lcn/a/a/j;->f()F

    move-result v1

    float-to-int v1, v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "px"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ";"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " line-height:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v1}, Lcn/a/a/j;->c()F

    move-result v1

    float-to-int v1, v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "px;"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " letter-spacing:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v1}, Lcn/a/a/j;->d()F

    move-result v1

    float-to-int v1, v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "px;"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " background-color: rgba("

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v1}, Lcn/a/a/j;->l()Lcn/a/a/d/k;

    move-result-object v1

    invoke-virtual {v1}, Lcn/a/a/d/k;->a()I

    move-result v1

    invoke-direct {p0, v1}, Lcom/xingbook/ui/a/aj;->a(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1, v5, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1, v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;I)I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v1}, Lcn/a/a/j;->l()Lcn/a/a/d/k;

    move-result-object v1

    invoke-virtual {v1}, Lcn/a/a/d/k;->a()I

    move-result v1

    invoke-direct {p0, v1}, Lcom/xingbook/ui/a/aj;->a(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1, v4, v7}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1, v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;I)I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v1}, Lcn/a/a/j;->l()Lcn/a/a/d/k;

    move-result-object v1

    invoke-virtual {v1}, Lcn/a/a/d/k;->a()I

    move-result v1

    invoke-direct {p0, v1}, Lcom/xingbook/ui/a/aj;->a(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1, v7, v6}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1, v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;I)I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v1}, Lcn/a/a/j;->l()Lcn/a/a/d/k;

    move-result-object v1

    invoke-virtual {v1}, Lcn/a/a/d/k;->a()I

    move-result v1

    invoke-direct {p0, v1}, Lcom/xingbook/ui/a/aj;->a(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v1, v2, v5}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1, v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;I)I

    move-result v1

    int-to-double v1, v1

    const-wide v3, 0x406fe00000000000L

    div-double/2addr v1, v3

    invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ") "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ";"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " border-radius: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v1}, Lcn/a/a/j;->l()Lcn/a/a/d/k;

    move-result-object v1

    invoke-virtual {v1}, Lcn/a/a/d/k;->b()I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "px;"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "-webkit-text-stroke: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v1}, Lcn/a/a/j;->k()I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "px #"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v1}, Lcn/a/a/j;->j()I

    move-result v1

    invoke-direct {p0, v1}, Lcom/xingbook/ui/a/aj;->a(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1, v5, v6}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ";"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "\">"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->o:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "</div></body></html>"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0

    :cond_0
    const-string v0, ""

    goto/16 :goto_0

    :cond_1
    const-string v0, ""

    goto/16 :goto_1

    :cond_2
    const-string v0, ""

    goto/16 :goto_2

    :cond_3
    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v0}, Lcn/a/a/j;->a()I

    move-result v0

    int-to-float v0, v0

    goto/16 :goto_3
.end method


# virtual methods
.method public a(IIZ)V
    .locals 5

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->c:Lcn/a/a/b/b;

    invoke-virtual {v0}, Lcn/a/a/b/b;->f()Lcn/a/a/d/e;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/d/e;->e()Z

    move-result v0

    if-eqz v0, :cond_0

    int-to-float v0, p1

    iget v1, p0, Lcom/xingbook/ui/a/aj;->w:F

    sub-float/2addr v0, v1

    float-to-int v0, v0

    int-to-float v1, p2

    iget v2, p0, Lcom/xingbook/ui/a/aj;->x:F

    sub-float/2addr v1, v2

    float-to-int v1, v1

    iget v2, p0, Lcom/xingbook/ui/a/aj;->i:I

    add-int/2addr v2, v0

    iget v3, p0, Lcom/xingbook/ui/a/aj;->h:I

    add-int/2addr v3, v1

    invoke-virtual {p0, v0, v1, v2, v3}, Lcom/xingbook/ui/a/aj;->layout(IIII)V

    :cond_0
    iget-boolean v0, p0, Lcom/xingbook/ui/a/aj;->v:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->b:Lcom/xingbook/ui/b/a;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/b/a;->setActivityTouchListener(Lcom/xingbook/ui/overclass/a;)V

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->t:Landroid/view/WindowManager;

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->r:Landroid/view/View;

    invoke-interface {v0, v1}, Landroid/view/WindowManager;->removeView(Landroid/view/View;)V

    iput-boolean v4, p0, Lcom/xingbook/ui/a/aj;->v:Z

    invoke-virtual {p0, v4}, Lcom/xingbook/ui/a/aj;->setVisibility(I)V

    :cond_1
    iget-boolean v0, p0, Lcom/xingbook/ui/a/aj;->y:Z

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->q:Landroid/view/View;

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/a/aj;->onClick(Landroid/view/View;)V

    :goto_0
    return-void

    :cond_2
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/xingbook/ui/a/aj;->y:Z

    goto :goto_0
.end method

.method public b(II)V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->s:Landroid/view/WindowManager$LayoutParams;

    int-to-float v1, p1

    iget v2, p0, Lcom/xingbook/ui/a/aj;->w:F

    sub-float/2addr v1, v2

    float-to-int v1, v1

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->x:I

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->s:Landroid/view/WindowManager$LayoutParams;

    int-to-float v1, p2

    iget v2, p0, Lcom/xingbook/ui/a/aj;->x:F

    sub-float/2addr v1, v2

    float-to-int v1, v1

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->y:I

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->r:Landroid/view/View;

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/xingbook/ui/a/aj;->v:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->t:Landroid/view/WindowManager;

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->r:Landroid/view/View;

    iget-object v2, p0, Lcom/xingbook/ui/a/aj;->s:Landroid/view/WindowManager$LayoutParams;

    invoke-interface {v0, v1, v2}, Landroid/view/WindowManager;->updateViewLayout(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    :cond_0
    return-void
.end method

.method public c()V
    .locals 0

    invoke-super {p0}, Lcom/xingbook/ui/a/c;->c()V

    return-void
.end method

.method public c(II)V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->s:Landroid/view/WindowManager$LayoutParams;

    int-to-float v1, p1

    iget v2, p0, Lcom/xingbook/ui/a/aj;->w:F

    sub-float/2addr v1, v2

    float-to-int v1, v1

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->x:I

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->s:Landroid/view/WindowManager$LayoutParams;

    int-to-float v1, p2

    iget v2, p0, Lcom/xingbook/ui/a/aj;->x:F

    sub-float/2addr v1, v2

    float-to-int v1, v1

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->y:I

    iget-boolean v0, p0, Lcom/xingbook/ui/a/aj;->v:Z

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->b:Lcom/xingbook/ui/b/a;

    invoke-virtual {v0, p0}, Lcom/xingbook/ui/b/a;->setActivityTouchListener(Lcom/xingbook/ui/overclass/a;)V

    iget-object v0, p0, Lcom/xingbook/ui/a/aj;->t:Landroid/view/WindowManager;

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->r:Landroid/view/View;

    iget-object v2, p0, Lcom/xingbook/ui/a/aj;->s:Landroid/view/WindowManager$LayoutParams;

    invoke-interface {v0, v1, v2}, Landroid/view/WindowManager;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/xingbook/ui/a/aj;->v:Z

    const/4 v0, 0x4

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/a/aj;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method public d()V
    .locals 0

    invoke-super {p0}, Lcom/xingbook/ui/a/c;->d()V

    return-void
.end method

.method public e()V
    .locals 0

    invoke-super {p0}, Lcom/xingbook/ui/a/c;->e()V

    return-void
.end method

.method public f()V
    .locals 0

    invoke-super {p0}, Lcom/xingbook/ui/a/c;->f()V

    return-void
.end method

.method public g()V
    .locals 0

    invoke-super {p0}, Lcom/xingbook/ui/a/c;->g()V

    return-void
.end method

.method public getMovingState()Z
    .locals 1

    iget-boolean v0, p0, Lcom/xingbook/ui/a/aj;->v:Z

    return v0
.end method

.method protected onLayout(ZIIII)V
    .locals 9

    const/4 v0, 0x0

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->n:Lcn/a/a/b/l;

    invoke-virtual {v1}, Lcn/a/a/b/l;->l()Z

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v1}, Lcn/a/a/j;->l()Lcn/a/a/d/k;

    move-result-object v1

    invoke-virtual {v1}, Lcn/a/a/d/k;->c()Lcn/a/a/d/f;

    move-result-object v2

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v1}, Lcn/a/a/j;->l()Lcn/a/a/d/k;

    move-result-object v1

    invoke-virtual {v1}, Lcn/a/a/d/k;->e()I

    move-result v3

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v1}, Lcn/a/a/j;->e()I

    move-result v4

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->q:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->getWidth()I

    move-result v5

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->q:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->getHeight()I

    move-result v6

    invoke-virtual {p0}, Lcom/xingbook/ui/a/aj;->getWidth()I

    move-result v1

    iget v7, v2, Lcn/a/a/d/f;->a:I

    sub-int/2addr v1, v7

    iget v7, v2, Lcn/a/a/d/f;->c:I

    sub-int/2addr v1, v7

    mul-int/lit8 v7, v3, 0x2

    sub-int/2addr v1, v7

    invoke-virtual {p0}, Lcom/xingbook/ui/a/aj;->getHeight()I

    move-result v7

    iget v8, v2, Lcn/a/a/d/f;->b:I

    sub-int/2addr v7, v8

    iget v8, v2, Lcn/a/a/d/f;->d:I

    sub-int/2addr v7, v8

    mul-int/lit8 v8, v3, 0x2

    sub-int/2addr v7, v8

    and-int/lit8 v8, v4, 0xf

    packed-switch v8, :pswitch_data_0

    :pswitch_0
    move v1, v0

    :goto_0
    and-int/lit16 v4, v4, 0xf0

    sparse-switch v4, :sswitch_data_0

    :goto_1
    :sswitch_0
    iget v4, v2, Lcn/a/a/d/f;->a:I

    add-int/2addr v4, v3

    add-int/2addr v1, v4

    iget v2, v2, Lcn/a/a/d/f;->b:I

    add-int/2addr v2, v3

    add-int/2addr v0, v2

    iget-object v2, p0, Lcom/xingbook/ui/a/aj;->q:Landroid/view/View;

    add-int v3, v1, v5

    add-int v4, v0, v6

    invoke-virtual {v2, v1, v0, v3, v4}, Landroid/view/View;->layout(IIII)V

    :cond_0
    return-void

    :pswitch_1
    move v1, v0

    goto :goto_0

    :pswitch_2
    sub-int/2addr v1, v5

    goto :goto_0

    :pswitch_3
    sub-int/2addr v1, v5

    div-int/lit8 v1, v1, 0x2

    goto :goto_0

    :sswitch_1
    sub-int v0, v7, v6

    goto :goto_1

    :sswitch_2
    sub-int v0, v7, v6

    div-int/lit8 v0, v0, 0x2

    goto :goto_1

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_3
        :pswitch_0
        :pswitch_1
        :pswitch_0
        :pswitch_2
    .end packed-switch

    :sswitch_data_0
    .sparse-switch
        0x10 -> :sswitch_2
        0x30 -> :sswitch_0
        0x50 -> :sswitch_1
    .end sparse-switch
.end method

.method protected onMeasure(II)V
    .locals 9

    const/4 v0, 0x0

    invoke-super {p0, p1, p2}, Lcom/xingbook/ui/a/c;->onMeasure(II)V

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->n:Lcn/a/a/b/l;

    invoke-virtual {v1}, Lcn/a/a/b/l;->l()Z

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v1}, Lcn/a/a/j;->l()Lcn/a/a/d/k;

    move-result-object v1

    invoke-virtual {v1}, Lcn/a/a/d/k;->c()Lcn/a/a/d/f;

    move-result-object v2

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v1}, Lcn/a/a/j;->l()Lcn/a/a/d/k;

    move-result-object v1

    invoke-virtual {v1}, Lcn/a/a/d/k;->e()I

    move-result v3

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->p:Lcn/a/a/j;

    invoke-virtual {v1}, Lcn/a/a/j;->e()I

    move-result v4

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->q:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->getMeasuredWidth()I

    move-result v5

    iget-object v1, p0, Lcom/xingbook/ui/a/aj;->q:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->getMeasuredHeight()I

    move-result v6

    invoke-virtual {p0}, Lcom/xingbook/ui/a/aj;->getWidth()I

    move-result v1

    iget v7, v2, Lcn/a/a/d/f;->a:I

    sub-int/2addr v1, v7

    iget v7, v2, Lcn/a/a/d/f;->c:I

    sub-int/2addr v1, v7

    mul-int/lit8 v7, v3, 0x2

    sub-int/2addr v1, v7

    invoke-virtual {p0}, Lcom/xingbook/ui/a/aj;->getHeight()I

    move-result v7

    iget v8, v2, Lcn/a/a/d/f;->b:I

    sub-int/2addr v7, v8

    iget v8, v2, Lcn/a/a/d/f;->d:I

    sub-int/2addr v7, v8

    mul-int/lit8 v8, v3, 0x2

    sub-int/2addr v7, v8

    and-int/lit8 v8, v4, 0xf

    packed-switch v8, :pswitch_data_0

    :pswitch_0
    move v1, v0

    :goto_0
    and-int/lit16 v4, v4, 0xf0

    sparse-switch v4, :sswitch_data_0

    :goto_1
    :sswitch_0
    iget v4, v2, Lcn/a/a/d/f;->a:I

    add-int/2addr v4, v3

    add-int/2addr v1, v4

    iget v2, v2, Lcn/a/a/d/f;->b:I

    add-int/2addr v2, v3

    add-int/2addr v0, v2

    iget-object v2, p0, Lcom/xingbook/ui/a/aj;->q:Landroid/view/View;

    add-int v3, v1, v5

    add-int v4, v0, v6

    invoke-virtual {v2, v1, v0, v3, v4}, Landroid/view/View;->layout(IIII)V

    :cond_0
    return-void

    :pswitch_1
    move v1, v0

    goto :goto_0

    :pswitch_2
    sub-int/2addr v1, v5

    goto :goto_0

    :pswitch_3
    sub-int/2addr v1, v5

    div-int/lit8 v1, v1, 0x2

    goto :goto_0

    :sswitch_1
    sub-int v0, v7, v6

    goto :goto_1

    :sswitch_2
    sub-int v0, v7, v6

    div-int/lit8 v0, v0, 0x2

    goto :goto_1

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_3
        :pswitch_0
        :pswitch_1
        :pswitch_0
        :pswitch_2
    .end packed-switch

    :sswitch_data_0
    .sparse-switch
        0x10 -> :sswitch_2
        0x30 -> :sswitch_0
        0x50 -> :sswitch_1
    .end sparse-switch
.end method

.method public setNoMove(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/xingbook/ui/a/aj;->y:Z

    return-void
.end method
